home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 369
- Top = 117
- ActiveControl = TabbedNotebook1
- BorderIcons = [biSystemMenu, biMinimize]
- BorderStyle = bsSingle
- Caption = 'A view of the PopupBox Component'
- ClientHeight = 440
- ClientWidth = 620
- Color = clSilver
- Font.Color = clWindowText
- Font.Height = -18
- Font.Name = 'System'
- Font.Style = []
- PixelsPerInch = 120
- Position = poScreenCenter
- OnShow = FormShow
- TextHeight = 20
- object Label1: TLabel
- Left = 0
- Top = 0
- Width = 620
- Height = 29
- Align = alTop
- Alignment = taCenter
- Caption = 'PopupBox - Component'
- Font.Color = clMaroon
- Font.Height = -23
- Font.Name = 'Helv'
- Font.Style = [fsBold, fsUnderline]
- ParentFont = False
- end
- object TabbedNotebook1: TTabbedNotebook
- Left = 0
- Top = 44
- Width = 620
- Height = 396
- Align = alBottom
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'System'
- Font.Style = [fsBold]
- TabsPerRow = 4
- TabFont.Color = clBlack
- TabFont.Height = -13
- TabFont.Name = 'Helv'
- TabFont.Style = []
- TabOrder = 0
- TabStop = False
- object TTabPage
- Left = 5
- Top = 29
- Caption = 'What is this?'
- object Image1: TImage
- Left = 24
- Top = 40
- Width = 49
- Height = 48
- Picture.Data = {<image000.bmp>}
- Stretch = True
- end
- object Label2: TLabel
- Left = 108
- Top = 35
- Width = 488
- Height = 146
- AutoSize = False
- Caption =
- 'The PopupBox-Component is a replacement for the ComboBox with st' +
- 'yle csDropDownList.'#10#10'Because I am altogether dissatisfied with t' +
- 'he combobox, it'#39's look and functionality, I made the decision to' +
- ' write my own component. And here it is!'
- FocusControl = CheckBox1
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object Label3: TLabel
- Left = 108
- Top = 188
- Width = 488
- Height = 101
- AutoSize = False
- Caption =
- 'The PopupBox looks like an Edit- or Memofield, but it is not edi' +
- 'table. If you click on it, a list opens up. You may select one o' +
- 'f the list-entries. This entry will then become the current Text' +
- ' of then PopupBox-field.'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object Label4: TLabel
- Left = 108
- Top = 295
- Width = 488
- Height = 66
- AutoSize = False
- Caption =
- 'Optional the next window-control can be automatically focused. B' +
- 'ut look yourself!'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- end
- object TTabPage
- Left = 5
- Top = 29
- Caption = 'Example'
- object Bevel1: TBevel
- Left = 43
- Top = 48
- Width = 476
- Height = 105
- end
- object Label5: TLabel
- Left = 43
- Top = 20
- Width = 468
- Height = 20
- AutoSize = False
- Caption = 'These 3 fields could be a part of an input dialog:'
- Font.Color = clNavy
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label6: TLabel
- Left = 52
- Top = 66
- Width = 157
- Height = 17
- Alignment = taCenter
- AutoSize = False
- Caption = 'a Standard-Editfield:'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helvetica'
- Font.Style = []
- ParentFont = False
- end
- object Label7: TLabel
- Left = 354
- Top = 66
- Width = 161
- Height = 17
- Alignment = taCenter
- AutoSize = False
- Caption = 'a Standard-Editfield:'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helvetica'
- Font.Style = []
- ParentFont = False
- end
- object Label8: TLabel
- Left = 214
- Top = 66
- Width = 134
- Height = 17
- AutoSize = False
- Caption = 'a PopupBox-field:'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helvetica'
- Font.Style = []
- ParentFont = False
- end
- object Label9: TLabel
- Left = 43
- Top = 165
- Width = 528
- Height = 44
- AutoSize = False
- Caption =
- 'You can move from field to field by pressing RETURN- or TAB- Key' +
- '.'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = [fsItalic]
- ParentFont = False
- end
- object Edit1: TEdit
- Left = 66
- Top = 86
- Width = 133
- Height = 33
- AutoSelect = False
- AutoSize = False
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'System'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 0
- Text = 'simple text'
- OnKeyPress = Edit1KeyPress
- end
- object Edit2: TEdit
- Left = 370
- Top = 86
- Width = 133
- Height = 33
- AutoSelect = False
- AutoSize = False
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'System'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 2
- Text = 'other text'
- OnKeyPress = Edit2KeyPress
- end
- object PopupBox1: TPopupBox
- Left = 214
- Top = 86
- Width = 134
- Height = 33
- Cursor = crArrow
- Alignment = taCenter
- AutoSize = False
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'System'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 1
- Text = 'PopupBox'
- ListItems.Strings = (
- 'Athens'
- 'Berlin'
- 'Brussels'
- 'Bucharest'
- 'Copenhagen'
- 'Dublin'
- 'Helsinki'
- 'London'
- 'Luxembourg'
- 'Madrid'
- 'Moscow'
- 'Oslo'
- 'Ottawa'
- 'Paris'
- 'Prague'
- 'Rome'
- 'Stockholm'
- 'Tokyo'
- 'Vienna'
- 'Warsaw'
- 'Washington')
- ListAlignment = taLeftJustify
- ListFont.Color = clBlack
- ListFont.Height = -17
- ListFont.Name = 'System'
- ListFont.Style = [fsBold]
- ListItemHeight = 28
- ListSorted = True
- ListWidth = 145
- ListHeight = 115
- end
- object GroupBox1: TGroupBox
- Left = 43
- Top = 216
- Width = 525
- Height = 122
- TabOrder = 3
- object Label10: TLabel
- Left = 13
- Top = 24
- Width = 292
- Height = 94
- AutoSize = False
- Caption =
- 'If you don'#39't like the way, PopupBox handles RETURN / MouseClicks' +
- ', you can simply switch off this behaviour in Delphis Objectinsp' +
- 'ector.'
- Font.Color = clNavy
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object CheckBox1: TCheckBox
- Left = 320
- Top = 30
- Width = 193
- Height = 33
- Caption = 'GoAwayOnClick'
- State = cbChecked
- TabOrder = 0
- OnClick = CheckBox1Click
- end
- object CheckBox2: TCheckBox
- Left = 320
- Top = 68
- Width = 193
- Height = 33
- Caption = 'GoAwayOnReturn'
- State = cbChecked
- TabOrder = 1
- OnClick = CheckBox2Click
- end
- end
- end
- object TTabPage
- Left = 5
- Top = 29
- Caption = 'Other Styles'
- object Bevel2: TBevel
- Left = 0
- Top = 304
- Width = 610
- Height = 58
- Align = alBottom
- Shape = bsFrame
- end
- object Label11: TLabel
- Left = 8
- Top = 31
- Width = 213
- Height = 20
- Alignment = taCenter
- AutoSize = False
- Caption = 'adjustable position and size'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label12: TLabel
- Left = 256
- Top = 32
- Width = 245
- Height = 20
- Alignment = taCenter
- AutoSize = False
- Caption = 'different alignments of field and list'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label15: TLabel
- Left = 12
- Top = 229
- Width = 33
- Height = 38
- Alignment = taRightJustify
- AutoSize = False
- Caption = '2D'#10'list'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label16: TLabel
- Left = 236
- Top = 233
- Width = 98
- Height = 40
- Alignment = taRightJustify
- AutoSize = False
- Caption = 'ownerdraw- PopupBox'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label17: TLabel
- Left = 8
- Top = 307
- Width = 597
- Height = 48
- AutoSize = False
- Caption =
- 'There are still a few other settings, wich can change the PopupB' +
- 'ox style. Try out and make your application look personally and ' +
- 'impressive!'
- Font.Color = clNavy
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label14: TLabel
- Left = 377
- Top = 116
- Width = 172
- Height = 21
- Alignment = taCenter
- AutoSize = False
- Caption = 'free adjustable colors'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label13: TLabel
- Left = 60
- Top = 116
- Width = 245
- Height = 22
- Alignment = taCenter
- AutoSize = False
- Caption = 'different fonts for field and list'
- Font.Color = clMaroon
- Font.Height = -15
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object PopupBox2: TPopupBox
- Left = 28
- Top = 53
- Width = 173
- Height = 31
- Cursor = crArrow
- Alignment = taLeftJustify
- AutoSize = False
- TabOrder = 0
- OnEnter = PopupBox2Enter
- ListItems.Strings = (
- 'Sunday'
- 'Monday'
- 'Tuesday'
- 'Wednesday'
- 'Thursday'
- 'Friday'
- 'Saturday')
- ListAlignment = taLeftJustify
- ListFont.Color = clBlack
- ListFont.Height = -17
- ListFont.Name = 'System'
- ListFont.Style = [fsBold]
- ListItemHeight = 28
- ListLeft = -20
- ListTop = 30
- ListSorted = False
- ListWidth = 120
- ListHeight = 201
- end
- object PopupBox3: TPopupBox
- Left = 304
- Top = 53
- Width = 149
- Height = 31
- Cursor = crArrow
- Alignment = taCenter
- AutoSize = False
- TabOrder = 1
- OnEnter = PopupBox3Enter
- ListItems.Strings = (
- 'Sunday '
- 'Monday '
- 'Tuesday '
- 'Wednesday '
- 'Thursday '
- 'Friday '
- 'Saturday ')
- ListAlignment = taRightJustify
- ListFont.Color = clBlack
- ListFont.Height = -17
- ListFont.Name = 'System'
- ListFont.Style = [fsBold]
- ListColor = clSilver
- ListItemHeight = 27
- ListSelBGColor = clSilver
- ListLeft = 0
- ListTop = 32
- ListSorted = False
- ListWidth = 149
- ListHeight = 166
- end
- object PopupBox6: TPopupBox
- Left = 51
- Top = 234
- Width = 145
- Height = 30
- Cursor = crArrow
- Alignment = taLeftJustify
- AutoSize = False
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'System'
- Font.Style = [fsBold]
- ParentFont = False
- TabOrder = 4
- ListItems.Strings = (
- 'John'
- 'Karin'
- 'Bill'
- 'Mary'
- 'James'
- 'Susan'
- 'Mike'
- 'Eric'
- 'Julia'
- 'Thomas'
- 'Anne'
- 'Michael')
- ListAlignment = taLeftJustify
- ListFont.Color = clBlack
- ListFont.Height = -17
- ListFont.Name = 'System'
- ListFont.Style = [fsBold]
- ListColor = clWhite
- ListItemHeight = 27
- ListSelColor = clHighlightText
- ListSelBGColor = clHighlight
- ListSel3D = False
- ListLeft = 30
- ListTop = -60
- ListSorted = False
- ListWidth = 126
- ListHeight = 150
- end
- object PopupBox7: TPopupBox
- Left = 340
- Top = 238
- Width = 133
- Height = 30
- Cursor = crArrow
- Alignment = taCenter
- AutoSize = False
- TabOrder = 5
- OnEnter = PopupBox7Enter
- OnExit = PopupBox7Exit
- ListAlignment = taLeftJustify
- ListAutoPos = False
- ListFont.Color = clBlack
- ListFont.Height = -15
- ListFont.Name = 'Helv'
- ListFont.Style = []
- ListItemHeight = 26
- ListLeft = 5
- ListTop = -100
- ListSorted = False
- ListWidth = 230
- ListHeight = 193
- OnDrawListItem = PopupBox7DrawListItem
- end
- object PopupBox5: TPopupBox
- Left = 381
- Top = 138
- Width = 165
- Height = 40
- Cursor = crArrow
- Alignment = taLeftJustify
- AutoSize = False
- Color = clWhite
- Font.Color = clMaroon
- Font.Height = -23
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- TabOrder = 3
- ListItems.Strings = (
- 'Sunday'
- 'Monday'
- 'Tuesday'
- 'Wednesday'
- 'Thursday'
- 'Friday'
- 'Saturday')
- ListAlignment = taLeftJustify
- ListFont.Color = clNavy
- ListFont.Height = -17
- ListFont.Name = 'Helv'
- ListFont.Style = [fsBold]
- ListColor = clSilver
- ListItemHeight = 27
- ListIntegralHeight = False
- ListSelColor = clWhite
- ListSelBGColor = 10789024
- ListLeft = 13
- ListTop = 15
- ListSorted = False
- ListWidth = 161
- ListHeight = 131
- end
- object PopupBox4: TPopupBox
- Left = 93
- Top = 138
- Width = 182
- Height = 40
- Cursor = crArrow
- Alignment = taRightJustify
- AutoSize = False
- Color = clWhite
- Ctl3D = True
- Font.Color = clBlack
- Font.Height = -23
- Font.Name = 'Helvetica'
- Font.Style = [fsBold, fsItalic]
- ParentCtl3D = False
- ParentFont = False
- ParentShowHint = False
- ShowHint = False
- TabOrder = 2
- ListItems.Strings = (
- 'Sunday '
- 'Monday '
- 'Tuesday '
- 'Wednesday '
- 'Thursday '
- 'Friday '
- 'Saturday ')
- ListAlignment = taCenter
- ListFont.Color = clBlack
- ListFont.Height = -17
- ListFont.Name = 'Courier'
- ListFont.Style = []
- ListHint = 'This is a PopupBox-list!'
- ListItemHeight = 28
- ListIntegralHeight = False
- ListLeft = 2
- ListTop = 30
- ListSorted = False
- ListWidth = 200
- ListHeight = 166
- end
- end
- object TTabPage
- Left = 5
- Top = 29
- Caption = 'Can I use it free?'
- object Label18: TLabel
- Left = 40
- Top = 8
- Width = 529
- Height = 45
- AutoSize = False
- Caption = 'Yes, you can use the PopupBox-Component free.'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label19: TLabel
- Left = 40
- Top = 48
- Width = 541
- Height = 57
- AutoSize = False
- Caption =
- 'If you need (or would like to have) the source-code of this comp' +
- 'onent, then you have to register it.'
- Font.Color = clMaroon
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label20: TLabel
- Left = 40
- Top = 108
- Width = 478
- Height = 61
- AutoSize = False
- Caption = 'The registration fee is only $10.00 (or 15,00 DM).'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = [fsUnderline]
- ParentFont = False
- end
- object Label21: TLabel
- Left = 40
- Top = 148
- Width = 541
- Height = 30
- AutoSize = False
- Caption = 'How to register?'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = [fsBold]
- ParentFont = False
- end
- object Label22: TLabel
- Left = 40
- Top = 309
- Width = 401
- Height = 46
- AutoSize = False
- Caption =
- 'I will e-mail you immediately the'#10'source code of the latest vers' +
- 'ion!'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = [fsBold]
- ParentFont = False
- end
- object Image2: TImage
- Left = 300
- Top = 179
- Width = 21
- Height = 12
- Picture.Data = {<image001.bmp>}
- end
- object Image3: TImage
- Left = 13
- Top = 13
- Width = 28
- Height = 13
- Picture.Data = {<image002.bmp>}
- end
- object Image4: TImage
- Left = 13
- Top = 313
- Width = 23
- Height = 23
- Picture.Data = {<image003.bmp>}
- end
- object Image5: TImage
- Left = 13
- Top = 53
- Width = 23
- Height = 18
- Picture.Data = {<image004.bmp>}
- end
- object Image6: TImage
- Left = 13
- Top = 113
- Width = 23
- Height = 18
- Picture.Data = {<image005.bmp>}
- end
- object Image7: TImage
- Left = 13
- Top = 179
- Width = 18
- Height = 22
- Picture.Data = {<image006.bmp>}
- end
- object Label23: TLabel
- Left = 40
- Top = 176
- Width = 221
- Height = 117
- AutoSize = False
- Caption =
- 'If you have a CompuServe account, you can register with GO SWREG' +
- ' . Look for #6032.'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object Label24: TLabel
- Left = 328
- Top = 176
- Width = 270
- Height = 137
- AutoSize = False
- Caption =
- 'The other possibility is to send me the money cash to:'#10' Jan ' +
- '- M. Strube'#10' Breslauer Str. 19'#10' 70806 Kornwestheim'#10' ' +
- 'GERMANY'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- end
- object BitBtn1: TBitBtn
- Left = 493
- Top = 319
- Width = 112
- Height = 34
- Caption = 'Read me'
- Font.Color = clBlack
- Font.Height = -17
- Font.Name = 'Helv'
- Font.Style = []
- ParentFont = False
- TabOrder = 0
- OnClick = BitBtn1Click
- Glyph.Data = {
- 76010000424D7601000000000000760000002800000020000000100000000100
- 04000000000000010000130B0000130B00000000000000000000000000000000
- 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
- FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
- 333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
- 0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
- 07333337F33333337F333330FFFFFFFF07333337F33333337F333330FFFFFFFF
- 07333FF7F33333337FFFBBB0FFFFFFFF0BB37777F3333333777F3BB0FFFFFFFF
- 0BBB3777F3333FFF77773330FFFF000003333337F333777773333330FFFF0FF0
- 33333337F3337F37F3333330FFFF0F0B33333337F3337F77FF333330FFFF003B
- B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
- 3BB33773333773333773B333333B3333333B7333333733333337}
- NumGlyphs = 2
- Spacing = 12
- end
- end
- end
- end
-